<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页 - 家族传承</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
</head>
<body class="bg-white">
  <header class="bg-red-500 text-white p-4 flex items-center justify-between">
    <h2 class="text-xl font-semibold">首页</h2>
  </header>
  <main class="p-4">
    <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
      <a href="#" class="block bg-yellow-100 p-4 rounded-lg shadow hover:shadow-md transition">
        <i class="fas fa-sitemap text-3xl text-red-500"></i>
        <h3 class="mt-2 font-semibold">世系图生成</h3>
        <p class="mt-1 text-sm text-gray-600">快速生成多种样式的世系图并导出 PDF。</p>
      </a>
      <a href="#" class="block bg-yellow-100 p-4 rounded-lg shadow hover:shadow-md transition">
        <i class="fas fa-tree text-3xl text-green-500"></i>
        <h3 class="mt-2 font-semibold">家谱制作</h3>
        <p class="mt-1 text-sm text-gray-600">录入成员信息，构建家谱树。</p>
      </a>
      <a href="#" class="block bg-yellow-100 p-4 rounded-lg shadow hover:shadow-md transition">
        <i class="fas fa-users text-3xl text-blue-500"></i>
        <h3 class="mt-2 font-semibold">家族社交</h3>
        <p class="mt-1 text-sm text-gray-600">发布动态、私信聊天、活动管理。</p>
      </a>
      <a href="#" class="block bg-yellow-100 p-4 rounded-lg shadow hover:shadow-md transition">
        <i class="fas fa-gem text-3xl text-purple-500"></i>
        <h3 class="mt-2 font-semibold">特色功能</h3>
        <p class="mt-1 text-sm text-gray-600">记录家族故事、成就展示、寻根溯源。</p>
      </a>
    </div>
  </main>
</body>
</html>